home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6737 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: toad.stack.urc.tue.nl!not-for-mail
  2. From: jaco@stack.urc.tue.nl (Jaco Schoonen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Too system friendly?
  5. Date: 2 Apr 1996 01:51:11 +0200
  6. Organization: MCGV Stack, Eindhoven University of Technology, the Netherlands.
  7. Message-ID: <4jpq5f$i9g@toad.stack.urc.tue.nl>
  8. NNTP-Posting-Host: toad.stack.urc.tue.nl
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi all, 
  12.  
  13. I have a very strange problem here. My program only works on my cybervision.
  14. If I run it on aga, or on a friends ecs it doesn't work. I'll explain:
  15.  
  16. I have an array of arrays of char. I fill these with sensible values to use
  17. with WritePixelLine8().
  18.  
  19. The function to update the screen changes those data nad then use several
  20. WritePixelLine8() calls to put them on screen.
  21. On CyberGraphx-screen everything works as expected, but on non-cybergraphx
  22. the data is set to all zero's!
  23. The first time I call this function everything's fine and the screen get's
  24. drawn on cybergraphx as well as on aga/ecs. After that (the next time I call
  25. it) all my arrays are empty. 
  26. It just doesn't make sense. I change the data only with assignments done by
  27. the CPU. The only thing I do which has something to do with graphics is the
  28. WritePixelLine8(), but that's not supposed to change it's source-data is it?
  29. And how come it works fine on CyberGraphX? I checked the arrays, by dumping
  30. them line by line in ascii on screen. 
  31.  
  32. Anyone please help me, since I don't know what possibly could be wrong :-(
  33.  
  34. --
  35. Jaco Schoonen
  36. (jaco@stack.urc.tue.nl)
  37.